import React from "react";
import NewsPublish from "../../../components/publish-manage/NewsPublish";
import UsePublish from "../../../components/publish-manage/usePublish";
export default function Published() {
  const { dataSource, handleSunset } = UsePublish(2);

  return (
    <NewsPublish
      dataSource={dataSource}
      type={2}
      handleSunset={handleSunset}
    ></NewsPublish>
  );
}
